<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/17
 * Time: 17:58
 */

namespace app\models\Project_1_0;

use Core\Model;
class Add extends Model
{
    function add($name,$dealer,$except)
    {
        $sql="INSERT INTO t_case (`name`,dealer,except_date) VALUES('$name','$dealer','$except')";
        return $this->db->fetch_sql($sql);
    }
}